[INFO] cloning repository https://github.com/BinderDavid/writing-a-c-compiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BinderDavid/writing-a-c-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBinderDavid%2Fwriting-a-c-compiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBinderDavid%2Fwriting-a-c-compiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1fcb8c3c534dd8a7e05a1b50eca98b315d1c33a7
[INFO] fixing BinderDavid/writing-a-c-compiler against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBinderDavid%2Fwriting-a-c-compiler" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/BinderDavid/writing-a-c-compiler
[INFO] finished tweaking git repo https://github.com/BinderDavid/writing-a-c-compiler
[INFO] tweaked toml for git repo https://github.com/BinderDavid/writing-a-c-compiler written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BinderDavid/writing-a-c-compiler on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BinderDavid/writing-a-c-compiler already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: workspace.package.name
[INFO] [stderr] warning: workspace (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3b94755bb2e5a80a7dd449954bcbac56342ea0925124ecc98ac92c37f9c4d1c9
[INFO] running `Command { std: "docker" "start" "3b94755bb2e5a80a7dd449954bcbac56342ea0925124ecc98ac92c37f9c4d1c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3b94755bb2e5a80a7dd449954bcbac56342ea0925124ecc98ac92c37f9c4d1c9" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b94755bb2e5a80a7dd449954bcbac56342ea0925124ecc98ac92c37f9c4d1c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3b94755bb2e5a80a7dd449954bcbac56342ea0925124ecc98ac92c37f9c4d1c9" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating lib/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating app/Cargo.toml from 2021 edition to 2024
[INFO] [stderr] warning: Cargo.toml: unused manifest key: workspace.package.name
[INFO] [stderr] warning: workspace (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking anstyle v1.0.8
[INFO] [stderr]     Checking colorchoice v1.0.2
[INFO] [stderr]     Checking anstyle-query v1.1.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking anstyle-parse v0.2.5
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]     Checking clap_builder v4.5.17
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling logos-codegen v0.14.2
[INFO] [stderr]    Compiling clap_derive v4.5.13
[INFO] [stderr]    Compiling logos-derive v0.14.2
[INFO] [stderr]     Checking logos v0.14.2
[INFO] [stderr]     Checking tacky-lib v0.1.0 (/opt/rustwide/workdir/lib)
[INFO] [stderr]    Migrating lib/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking clap v4.5.17
[INFO] [stderr] error: errors present after applying fixes to crate `tacky_lib`
[INFO] [stderr]  --> lib/src/frontend/lexer.rs
[INFO] [stderr]  ::: lib/src/frontend/parser.rs
[INFO] [stderr]   = cause: error: expected one of `(`, `,`, `::`, or `=`, found `+`
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:17:16
[INFO] [stderr]               |
[INFO] [stderr]            17 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq)]
[INFO] [stderr]               |                ^ expected one of `(`, `,`, `::`, or `=`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `logos` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:18:3
[INFO] [stderr]               |
[INFO] [stderr]            18 | #[logos(skip r"\s*", skip r"[ \t\n\f]+", error = LexicalError)]
[INFO] [stderr]               |   ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]               = note: `logos` is in scope, but it is a crate, not an attribute
[INFO] [stderr]            help: `logos` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:23:7
[INFO] [stderr]               |
[INFO] [stderr]            23 |     #[token("int")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:25:7
[INFO] [stderr]               |
[INFO] [stderr]            25 |     #[token("return")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:27:7
[INFO] [stderr]               |
[INFO] [stderr]            27 |     #[token("void")]
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]  --> lib/src/tacky/emit.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target;
[INFO] [stdout]   |                          ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout]   = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               |       ^^^^^
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]  --> lib/src/tacky/emit.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn fresh_var(gen: &mut u64) -> super::ast::Var {
[INFO] [stdout]   |              ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               |
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:10:56
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let var = super::ast::Var { name: format!("tmp{}", gen) };
[INFO] [stdout]    |                                                        ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |     *gen += 1;
[INFO] [stdout]    |      ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               |
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let def = def.emit_tacky(gen);
[INFO] [stdout]    |                                  ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               |
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:30:44
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let instructions = body.emit_tacky(gen);
[INFO] [stdout]    |                                            ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:41:62
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 let (mut instructions, val) = exp.emit_tacky(gen);
[INFO] [stdout]    |                                                              ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:52:26
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:32:7
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:56:62
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 let (mut instructions, val) = exp.emit_tacky(gen);
[INFO] [stdout]    |                                                              ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               |
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:57:37
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 let tmp = fresh_var(gen);
[INFO] [stdout]    |                                     ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            32 |     #[token("(")]
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:59:45
[INFO] [stdout]    |
[INFO] [stdout] 59 |                     op: unary_op.emit_tacky(gen),
[INFO] [stdout]    |                                             ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               |       ^^^^^
[INFO] [stdout] warning: `impl logos::internal::CallbackResult<'s, String, Token>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]    = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               |
[INFO] [stdout] warning: `impl logos::internal::CallbackResult<'s, String, Token>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stdout] warning: `impl logos::internal::CallbackResult<'s, i64, Token>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               |
[INFO] [stdout] warning: `impl logos::internal::CallbackResult<'s, (), Token>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:34:7
[INFO] [stderr]               |
[INFO] [stderr]            34 |     #[token(")")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:36:7
[INFO] [stderr]               |
[INFO] [stderr]            36 |     #[token("{")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:38:7
[INFO] [stderr]               |
[INFO] [stderr]            38 |     #[token("}")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:40:7
[INFO] [stderr]               |
[INFO] [stderr]            40 |     #[token(";")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:42:7
[INFO] [stderr]               |
[INFO] [stderr]            42 |     #[token("~")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:44:7
[INFO] [stderr]               |
[INFO] [stderr]            44 |     #[token("-")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:46:7
[INFO] [stderr]               |
[INFO] [stderr]            46 |     #[token("--")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `regex` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:51:7
[INFO] [stderr]               |
[INFO] [stderr]            51 |     #[regex(r"[a-zA-Z_]\w*", |lex| lex.slice().to_string())]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `regex` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `regex` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:54:7
[INFO] [stderr]               |
[INFO] [stderr]            54 |     #[regex(r"[0-9]+[a-zA-Z_]+", |_| None)]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `regex` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `regex` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:59:7
[INFO] [stderr]               |
[INFO] [stderr]            59 |     #[regex(r"0|[1-9][0-9]*", |lex| lex.slice().parse::<i64>().unwrap())]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `regex` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0277]: `Token` doesn't implement `Debug`
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:65:27
[INFO] [stderr]               |
[INFO] [stderr]            65 |         write!(f, "{:?}", self)
[INFO] [stderr]               |                    ----   ^^^^ `Token` cannot be formatted using `{:?}` because it doesn't implement `Debug`
[INFO] [stderr]               |                    |
[INFO] [stderr]               |                    required by this formatting parameter
[INFO] [stderr]               |
[INFO] [stderr]               = help: the trait `Debug` is not implemented for `Token`
[INFO] [stderr]               = note: required for `&Token` to implement `Debug`
[INFO] [stderr]            help: consider annotating `Token` with `#[derive(Debug)]`
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Debug)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0599]: no variant, associated function, or constant named `lexer` found for enum `Token` in the current scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:70:56
[INFO] [stderr]               |
[INFO] [stderr]            19 | pub enum Token {
[INFO] [stderr]               | -------------- variant, associated function, or constant `lexer` not found for this enum
[INFO] [stderr]            ...
[INFO] [stderr]            70 |     let res: Result<Vec<Token>, LexicalError> = Token::lexer(input).collect();
[INFO] [stderr]               |                                                        ^^^^^ variant, associated function, or constant not found in `Token`
[INFO] [stderr]               |
[INFO] [stderr]               = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]               = note: the following trait defines an item `lexer`, perhaps you need to implement it:
[INFO] [stderr]                       candidate #1: `Logos`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0369]: binary operation `==` cannot be applied to type `Token`
[INFO] [stderr]              --> lib/src/frontend/parser.rs:73:12
[INFO] [stderr]               |
[INFO] [stderr]            73 |     if tok == expected {
[INFO] [stderr]               |        --- ^^ -------- Token
[INFO] [stderr]               |        |
[INFO] [stderr]               |        Token
[INFO] [stderr]               |
[INFO] [stderr]            note: an implementation of `PartialEq` might be missing for `Token`
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:19:1
[INFO] [stderr]               |
[INFO] [stderr]            19 | pub enum Token {
[INFO] [stderr]               | ^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stderr]            help: consider annotating `Token` with `#[derive(PartialEq)]`
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:19:1
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(PartialEq)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 19 previous errors
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            Some errors have detailed explanations: E0277, E0369, E0599.
[INFO] [stderr]            
[INFO] [stderr]            For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr] error: errors present after applying fixes to crate `tacky_lib`
[INFO] [stderr]  --> lib/src/frontend/lexer.rs
[INFO] [stderr]  ::: lib/src/frontend/parser.rs
[INFO] [stderr]   = cause: error: expected one of `(`, `,`, `::`, or `=`, found `+`
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:17:16
[INFO] [stderr]               |
[INFO] [stderr]            17 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq)]
[INFO] [stderr]               |                ^ expected one of `(`, `,`, `::`, or `=`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `logos` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:18:3
[INFO] [stderr]               |
[INFO] [stderr]            18 | #[logos(skip r"\s*", skip r"[ \t\n\f]+", error = LexicalError)]
[INFO] [stderr]               |   ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]               = note: `logos` is in scope, but it is a crate, not an attribute
[INFO] [stderr]            help: `logos` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:23:7
[INFO] [stderr]               |
[INFO] [stderr]            23 |     #[token("int")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:25:7
[INFO] [stderr]               |
[INFO] [stderr]            25 |     #[token("return")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:27:7
[INFO] [stderr]               |
[INFO] [stderr]            27 |     #[token("void")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:32:7
[INFO] [stderr]               |
[INFO] [stderr]            32 |     #[token("(")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:34:7
[INFO] [stderr]               |
[INFO] [stderr]            34 |     #[token(")")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:36:7
[INFO] [stderr]               |
[INFO] [stderr]            36 |     #[token("{")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:38:7
[INFO] [stderr]               |
[INFO] [stderr]            38 |     #[token("}")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:40:7
[INFO] [stderr]               |
[INFO] [stderr]            40 |     #[token(";")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:42:7
[INFO] [stderr]               |
[INFO] [stderr]            42 |     #[token("~")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:44:7
[INFO] [stderr]               |
[INFO] [stderr]            44 |     #[token("-")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `token` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:46:7
[INFO] [stderr]               |
[INFO] [stderr]            46 |     #[token("--")]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `token` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `regex` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:51:7
[INFO] [stderr]               |
[INFO] [stderr]            51 |     #[regex(r"[a-zA-Z_]\w*", |lex| lex.slice().to_string())]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `regex` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `regex` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:54:7
[INFO] [stderr]               |
[INFO] [stderr]            54 |     #[regex(r"[0-9]+[a-zA-Z_]+", |_| None)]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `regex` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: cannot find attribute `regex` in this scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:59:7
[INFO] [stderr]               |
[INFO] [stderr]            59 |     #[regex(r"0|[1-9][0-9]*", |lex| lex.slice().parse::<i64>().unwrap())]
[INFO] [stderr]               |       ^^^^^
[INFO] [stderr]               |
[INFO] [stderr]            help: `regex` is an attribute that can be used by the derive macro `Logos`, you might be missing a `derive` attribute
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Logos)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0277]: `Token` doesn't implement `Debug`
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:65:27
[INFO] [stderr]               |
[INFO] [stderr]            65 |         write!(f, "{:?}", self)
[INFO] [stderr]               |                    ----   ^^^^ `Token` cannot be formatted using `{:?}` because it doesn't implement `Debug`
[INFO] [stderr]               |                    |
[INFO] [stderr]               |                    required by this formatting parameter
[INFO] [stderr]               |
[INFO] [stderr]               = help: the trait `Debug` is not implemented for `Token`
[INFO] [stderr]               = note: required for `&Token` to implement `Debug`
[INFO] [stderr]            help: consider annotating `Token` with `#[derive(Debug)]`
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(Debug)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0599]: no variant, associated function, or constant named `lexer` found for enum `Token` in the current scope
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:70:56
[INFO] [stderr]               |
[INFO] [stderr]            19 | pub enum Token {
[INFO] [stderr]               | -------------- variant, associated function, or constant `lexer` not found for this enum
[INFO] [stderr]            ...
[INFO] [stderr]            70 |     let res: Result<Vec<Token>, LexicalError> = Token::lexer(input).collect();
[INFO] [stderr]               |                                                        ^^^^^ variant, associated function, or constant not found in `Token`
[INFO] [stderr]               |
[INFO] [stderr]               = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]               = note: the following trait defines an item `lexer`, perhaps you need to implement it:
[INFO] [stderr]                       candidate #1: `Logos`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0369]: binary operation `==` cannot be applied to type `Token`
[INFO] [stderr]              --> lib/src/frontend/parser.rs:73:12
[INFO] [stderr]               |
[INFO] [stderr]            73 |     if tok == expected {
[INFO] [stderr]               |        --- ^^ -------- Token
[INFO] [stderr]               |        |
[INFO] [stderr]               |        Token
[INFO] [stderr]               |
[INFO] [stderr]            note: an implementation of `PartialEq` might be missing for `Token`
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:19:1
[INFO] [stderr]               |
[INFO] [stderr]            19 | pub enum Token {
[INFO] [stderr]               | ^^^^^^^^^^^^^^ must implement `PartialEq`
[INFO] [stderr]            help: consider annotating `Token` with `#[derive(PartialEq)]`
[INFO] [stderr]              --> lib/src/frontend/lexer.rs:19:1
[INFO] [stderr]               |
[INFO] [stderr]            19 + #[derive(PartialEq)]
[INFO] [stderr]            20 | pub enum Token {
[INFO] [stderr]               |
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 19 previous errors
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            Some errors have detailed explanations: E0277, E0369, E0599.
[INFO] [stderr]            
[INFO] [stderr]            For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]  --> lib/src/tacky/emit.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target;
[INFO] [stdout]   |                          ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout]   = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]  --> lib/src/tacky/emit.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn fresh_var(gen: &mut u64) -> super::ast::Var {
[INFO] [stdout]   |              ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:10:56
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let var = super::ast::Var { name: format!("tmp{}", gen) };
[INFO] [stdout]    |                                                        ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |     *gen += 1;
[INFO] [stdout]    |      ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let def = def.emit_tacky(gen);
[INFO] [stdout]    |                                  ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:30:44
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let instructions = body.emit_tacky(gen);
[INFO] [stdout]    |                                            ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:41:62
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 let (mut instructions, val) = exp.emit_tacky(gen);
[INFO] [stdout]    |                                                              ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking tacky v0.1.0 (/opt/rustwide/workdir/app)
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:52:26
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:56:62
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 let (mut instructions, val) = exp.emit_tacky(gen);
[INFO] [stdout]    |                                                              ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:57:37
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 let tmp = fresh_var(gen);
[INFO] [stdout]    |                                     ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `gen` is a keyword in the 2024 edition
[INFO] [stdout]   --> lib/src/tacky/emit.rs:59:45
[INFO] [stdout]    |
[INFO] [stdout] 59 |                     op: unary_op.emit_tacky(gen),
[INFO] [stdout]    |                                             ^^^ help: you can use a raw identifier to stay compatible: `r#gen`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl logos::internal::CallbackResult<'s, String, Token>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]    = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl logos::internal::CallbackResult<'s, String, Token>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl logos::internal::CallbackResult<'s, i64, Token>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl logos::internal::CallbackResult<'s, (), Token>` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]   --> lib/src/frontend/lexer.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |          ^
[INFO] [stdout]    = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]    = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Logos + use<'s>, Debug, Clone, PartialEq, Eq)]
[INFO] [stdout]    |                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating app/src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed app/src/main.rs (2 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.77s
[INFO] [stderr] crater-edition-check: tacky-lib v0.1.0 (/opt/rustwide/workdir/lib) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: tacky v0.1.0 (/opt/rustwide/workdir/app) updating edition from 2021 to 2024
[INFO] [stderr] warning: Cargo.toml: unused manifest key: workspace.package.name
[INFO] [stderr] warning: workspace (manifest) generated 1 warning
[INFO] [stderr]     Checking tacky-lib v0.1.0 (/opt/rustwide/workdir/lib)
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]  --> lib/src/tacky/emit.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target;
[INFO] [stdout]   |                          ^^^ expected identifier, found reserved keyword
[INFO] [stdout]   |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn emit_tacky(&self, r#gen: &mut u64) -> Self::Target;
[INFO] [stdout]   |                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]  --> lib/src/tacky/emit.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn fresh_var(gen: &mut u64) -> super::ast::Var {
[INFO] [stdout]   |              ^^^ expected identifier, found reserved keyword
[INFO] [stdout]   |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn fresh_var(r#gen: &mut u64) -> super::ast::Var {
[INFO] [stdout]   |              ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |     *gen += 1;
[INFO] [stdout]    |      ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn emit_tacky(&self, r#gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let def = def.emit_tacky(gen);
[INFO] [stdout]    |                                  ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn emit_tacky(&self, r#gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:30:44
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let instructions = body.emit_tacky(gen);
[INFO] [stdout]    |                                            ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn emit_tacky(&self, r#gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:41:62
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 let (mut instructions, val) = exp.emit_tacky(gen);
[INFO] [stdout]    |                                                              ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:52:26
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn emit_tacky(&self, r#gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:56:62
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 let (mut instructions, val) = exp.emit_tacky(gen);
[INFO] [stdout]    |                                                              ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]  --> lib/src/tacky/emit.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target;
[INFO] [stdout]   |                          ^^^ expected identifier, found reserved keyword
[INFO] [stdout]   |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn emit_tacky(&self, r#gen: &mut u64) -> Self::Target;
[INFO] [stdout]   |                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]  --> lib/src/tacky/emit.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn fresh_var(gen: &mut u64) -> super::ast::Var {
[INFO] [stdout]   |              ^^^ expected identifier, found reserved keyword
[INFO] [stdout]   |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn fresh_var(r#gen: &mut u64) -> super::ast::Var {
[INFO] [stdout]   |              ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |     *gen += 1;
[INFO] [stdout]    |      ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn emit_tacky(&self, r#gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let def = def.emit_tacky(gen);
[INFO] [stdout]    |                                  ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn emit_tacky(&self, r#gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:30:44
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let instructions = body.emit_tacky(gen);
[INFO] [stdout]    |                                            ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn emit_tacky(&self, r#gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:41:62
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 let (mut instructions, val) = exp.emit_tacky(gen);
[INFO] [stdout]    |                                                              ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:52:26
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn emit_tacky(&self, gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn emit_tacky(&self, r#gen: &mut u64) -> Self::Target {
[INFO] [stdout]    |                          ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:56:62
[INFO] [stdout]    |
[INFO] [stdout] 56 |                 let (mut instructions, val) = exp.emit_tacky(gen);
[INFO] [stdout]    |                                                              ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:10:56
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let var = super::ast::Var { name: format!("tmp{}", gen) };
[INFO] [stdout]    |                                                        ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found reserved keyword `gen`
[INFO] [stdout]   --> lib/src/tacky/emit.rs:10:56
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let var = super::ast::Var { name: format!("tmp{}", gen) };
[INFO] [stdout]    |                                                        ^^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tacky-lib` (lib) due to 12 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `tacky-lib` (lib test) due to 12 previous errors
[INFO] running `Command { std: "docker" "inspect" "3b94755bb2e5a80a7dd449954bcbac56342ea0925124ecc98ac92c37f9c4d1c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b94755bb2e5a80a7dd449954bcbac56342ea0925124ecc98ac92c37f9c4d1c9", kill_on_drop: false }`
[INFO] [stdout] 3b94755bb2e5a80a7dd449954bcbac56342ea0925124ecc98ac92c37f9c4d1c9
